# -!- coding: utf-8 -!-
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
爱宠医院项目存放api接口信息。
#文件：inner_api_pethome.py
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

# 授信通知
credit_notify_N = {"creditMsg":"授信拒绝","creditStatus":"N","outerProcessNo":"pethome_01","processNo":"PRO202009241802441036424241"}
credit_notify_Y = {"creditDate":"20200925","creditExpireDate":"20210925","creditMsg":"授信通过","creditStatus":"Y",
                   "outerProcessNo":"pethome_01","processNo":"PRO202009241802441036424241"}

# 发送放款结果通知请求
loan_notify = {"loanMsg":"放款中","loanNo":"PETHOME20200927134412650oJ84","loanStatus":"P","loanType":"T","merchantNo":"002646",
                 "outerProcessNo":"pethome_01","processNo":"PRO202009241802441036424241"}
repay_notify = {"loanNo":"PETHOME202009291641567847296","repayStatus":"Y","repayMsg":"还款成功",
                "repayNo":"20200929184408227BeuE","repayType":1,  # 1-正常还款，2-提前还当期，3-提前结清
                "shouldRepayAmt":18400.00,"shouldRepayDate":"2020-11-15","repayTerm":2,
                "repayPrincipal":18400.00,"repayInterest":0,      # 实还利息(减去贴息部分之后0)
                "repayFee":0, "repayFine":0.00,
                "repayDate":"2020-09-29","overdueDays":0,
                }
# 流程节点
get_process = {
    "code":"0000",
    "data":{
        "closeExpireTime":"2020年09月26日",
        "existOnGoing":"N",
        "existOnLoaning":"N",
        "nextDesc":"审批拒绝页面",
        "nextPoint":11,
        "rejectReason":"身份认证未通过"
    },
    "msg":"成功"
}
